package com.muyu.day3zy.domain;

import com.muyu.common.core.annotation.Excel;
import com.muyu.common.core.web.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * @ClassName MaxOutInfo
 * @Description 描述
 * @Author ShiYu.Cui
 * @Date 2024/3/24 15:38
 */
public class MaxOutInfo extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /** 满减价格id */
    @Excel(name = "满减价格id", cellType = Excel.ColumnType.NUMERIC)
    private Long id;

    /** 满 */
    @Excel(name = "满")
    private Integer full;

    /** 立减 */
    @Excel(name = "立减")
    private Integer minus;

    /** 优惠方式id */
    @Excel(name = "优惠方式id")
    private Integer discountsId;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Integer getFull() {
        return full;
    }

    public void setFull(Integer full) {
        this.full = full;
    }

    public Integer getMinus() {
        return minus;
    }

    public void setMinus(Integer minus) {
        this.minus = minus;
    }

    public Integer getDiscountsId() {
        return discountsId;
    }

    public void setDiscountsId(Integer discountsId) {
        this.discountsId = discountsId;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
                .append("id", getId())
                .append("full", getFull())
                .append("minus", getMinus())
                .append("discountsId", getDiscountsId())
                .toString();
    }
}
